﻿@using SCMS.Resources
@model SCMS.UI.Models.RegisterAsset
@{
    ViewBag.Title = "loadimage";
}
<h2>
    loadimage</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm("Create", "GoodsReceivedNote", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@Resources_frank.GoodsReceivedNote_LoadGRAssetItems_RegisterAsset</legend>
        @Html.Label(Resources_frank.Global_String_Title)
        @Html.Editor("fileTitle")<br />
        Upload File:
        <input type="file" name="test" /><br />
        <img width="150" height="150" src = "@Url.Action("GetImage", "GoodsReceivedNote")" alt="@Resources_frank.Global_String_NoImage" />

        <p>
            <input type="submit" value="@Resources_frank.Global_String_Save" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink(Resources_frank.Global_String_BackToList, "Index")
</div>
